
.self {
    width: calc(100vw - 30px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--modal-bg);
    position: absolute;
    max-height: calc(100vh - 140px);
    border-radius: 12px;
    padding: 30px 0;
    box-sizing: border-box;
    outline: none;

    position: relative;

    @media (min-width: 640px) {
        width: 480px;
    }
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.content {
    max-height: calc(100vh - 140px - 60px);
    overflow-y: overlay;
    padding: 0 30px;
}